Integrand size = 35, antiderivative size = 41 \[ \int \frac {\sqrt {a+i a \tan (e+f x)}}{\sqrt {c-i c \tan (e+f x)}} \, dx=-\frac {i \sqrt {a+i a \tan (e+f x)}}{f \sqrt {c-i c \tan (e+f x)}} \]
[Out]
Time = 0.12 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.057, Rules used = {3604, 37} \[ \int \frac {\sqrt {a+i a \tan (e+f x)}}{\sqrt {c-i c \tan (e+f x)}} \, dx=-\frac {i \sqrt {a+i a \tan (e+f x)}}{f \sqrt {c-i c \tan (e+f x)}} \]
[In]
[Out]
Rule 37
Rule 3604
Rubi steps \begin{align*} \text {integral}& = \frac {(a c) \text {Subst}\left (\int \frac {1}{\sqrt {a+i a x} (c-i c x)^{3/2}} \, dx,x,\tan (e+f x)\right )}{f} \\ & = -\frac {i \sqrt {a+i a \tan (e+f x)}}{f \sqrt {c-i c \tan (e+f x)}} \\ \end{align*}
Time = 0.73 (sec) , antiderivative size = 41, normalized size of antiderivative = 1.00 \[ \int \frac {\sqrt {a+i a \tan (e+f x)}}{\sqrt {c-i c \tan (e+f x)}} \, dx=-\frac {i \sqrt {a+i a \tan (e+f x)}}{f \sqrt {c-i c \tan (e+f x)}} \]
[In]
[Out]
Time = 0.82 (sec) , antiderivative size = 50, normalized size of antiderivative = 1.22
method | result | size |
risch | \(-\frac {i \sqrt {\frac {a \,{\mathrm e}^{2 i \left (f x +e \right )}}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}}{\sqrt {\frac {c}{{\mathrm e}^{2 i \left (f x +e \right )}+1}}\, f}\) | \(50\) |
derivativedivides | \(-\frac {i \sqrt {a \left (1+i \tan \left (f x +e \right )\right )}\, \sqrt {-c \left (i \tan \left (f x +e \right )-1\right )}\, \left (i \tan \left (f x +e \right )-1\right )}{f c \left (\tan \left (f x +e \right )+i\right )^{2}}\) | \(63\) |
default | \(-\frac {i \sqrt {a \left (1+i \tan \left (f x +e \right )\right )}\, \sqrt {-c \left (i \tan \left (f x +e \right )-1\right )}\, \left (i \tan \left (f x +e \right )-1\right )}{f c \left (\tan \left (f x +e \right )+i\right )^{2}}\) | \(63\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 64 vs. \(2 (31) = 62\).
Time = 0.24 (sec) , antiderivative size = 64, normalized size of antiderivative = 1.56 \[ \int \frac {\sqrt {a+i a \tan (e+f x)}}{\sqrt {c-i c \tan (e+f x)}} \, dx=\frac {\sqrt {\frac {a}{e^{\left (2 i \, f x + 2 i \, e\right )} + 1}} \sqrt {\frac {c}{e^{\left (2 i \, f x + 2 i \, e\right )} + 1}} {\left (-i \, e^{\left (3 i \, f x + 3 i \, e\right )} - i \, e^{\left (i \, f x + i \, e\right )}\right )}}{c f} \]
[In]
[Out]
\[ \int \frac {\sqrt {a+i a \tan (e+f x)}}{\sqrt {c-i c \tan (e+f x)}} \, dx=\int \frac {\sqrt {i a \left (\tan {\left (e + f x \right )} - i\right )}}{\sqrt {- i c \left (\tan {\left (e + f x \right )} + i\right )}}\, dx \]
[In]
[Out]
none
Time = 0.36 (sec) , antiderivative size = 25, normalized size of antiderivative = 0.61 \[ \int \frac {\sqrt {a+i a \tan (e+f x)}}{\sqrt {c-i c \tan (e+f x)}} \, dx=\frac {\sqrt {a} {\left (-i \, \cos \left (f x + e\right ) + \sin \left (f x + e\right )\right )}}{\sqrt {c} f} \]
[In]
[Out]
\[ \int \frac {\sqrt {a+i a \tan (e+f x)}}{\sqrt {c-i c \tan (e+f x)}} \, dx=\int { \frac {\sqrt {i \, a \tan \left (f x + e\right ) + a}}{\sqrt {-i \, c \tan \left (f x + e\right ) + c}} \,d x } \]
[In]
[Out]
Time = 6.34 (sec) , antiderivative size = 49, normalized size of antiderivative = 1.20 \[ \int \frac {\sqrt {a+i a \tan (e+f x)}}{\sqrt {c-i c \tan (e+f x)}} \, dx=\frac {\sqrt {a\,\left (1+\mathrm {tan}\left (e+f\,x\right )\,1{}\mathrm {i}\right )}\,\sqrt {-c\,\left (-1+\mathrm {tan}\left (e+f\,x\right )\,1{}\mathrm {i}\right )}}{c\,f\,\left (\mathrm {tan}\left (e+f\,x\right )+1{}\mathrm {i}\right )} \]
[In]
[Out]